<template>
  <div>
    <comment :id="id"></comment>
  </div>
</template>
<script>
import comment from "../subcomponents/comment.vue";
export default {
  data(){
    return{
      id:this.$route.params.id
    }
  },
  components: {
    comment
  }
};
</script>
<style lang="scss" scoped>
  div{
    padding:5px;
  }
</style>